package com.beauty.logistics.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShipmentRequest {
    
    @NotBlank(message = "订单编号不能为空")
    private String orderId;
    
    @NotBlank(message = "物流方式不能为空")
    private String shippingMethod;
    
    @NotBlank(message = "承运商名称不能为空")
    private String carrierName;
    
    private String customerId;
    
    private LocalDateTime estimatedDeliveryDate;
    
    @NotBlank(message = "发货地址不能为空")
    private String originAddress;
    
    @NotBlank(message = "收货地址不能为空")
    private String destinationAddress;
    
    private String packageDimensions;
    
    private Double packageWeight;
    
    private String notes;
} 